<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>mine-mvvm</title>
    <style type="text/css">
        .one{
            color: red;
        }
        .two{
            color: green;
        }
    </style>
</head>
<body>
    <div id="app">
        <h1 @click="test" >mine-mvvm
            <span :class='class'>1111</span>
        </h1>
        <input v-model='name' type="text" title="inp1"></input>
        <button @click='test'>改变值</button>
        <button @click='hover'>还原值</button>
        {{name}}
        <p>{{class}}</p>
        <p>{{class}}</p>
        数组<p>{{array}}</p>
        数组<p>{{array[0]}}</p>
    </div>
</body>
</html>
